import 'package:dio/dio.dart';

/// Configuration class for CompactDio.
class CompactDioConfig {
  /// The maximum time to establish a connection with the server.
  Duration? connectTimeout;

  /// The maximum time to receive data from the server.
  Duration? receiveTimeout;

  /// The maximum time to send data to the server.
  Duration? sendTimeout;

  /// The list of interceptors to be applied to each request.
  List<Interceptor>? interceptors;

  /// The base URL for all requests.
  String? baseUrl;

  /// The headers to be included in each request.
  Map<String, dynamic>? headers;

  /// Whether to check connectivity before making a request.
  bool? checkConnectivity;

  /// Creates a new instance of [CompactDioConfig].
  CompactDioConfig();
}
